


                <!-- /section:settings.box -->
                <div class="row">
                    <div class="space-4"></div>
                    <h2 align="center">{$title}</h2>
                        <table border="1" cellspacing="0" >
                            <thead>
                            <tr>
                                <th>驾校</th>
                                <th>姓名</th>
                                <th>身份证号</th>
                                <th>手机号</th>
                                <th>驾照</th>
                                <th>班型</th>
                                <th>价格</th>
                                <th>是否已付款</th>
                                <th>付款方式</th>
                                <th>付款时间</th>
                                <th>报名时间</th>
                            </tr>
                            </thead>
                            <tbody>

                            <foreach name="data" item="val">
                                <tr>
                                    <td>{$val['school_name']}</td>
                                    <td>{$val['user_name']}</td>
                                    <td>{$val['id_card']}</td>
                                    <td>{$val['phone']}</td>
                                    <td>{$val['type']}</td>
                                    <td>{$val['class_name']}</td>
                                    <td>￥&nbsp;{$val['money']}</td>
                                    <!--<td>{$val['is_paid']}</td>-->
                                    <if condition="$val['is_paid'] eq 0">
                                        <td>未付款</td>
                                        <elseif condition="$val['is_paid'] eq 1"/>
                                        <td>已付款</td>
                                    </if>
                                    <td>{$val['pay_way']}</td>
                                    <if condition="$val['pay_time'] eq null">
                                        <td></td>
                                        <elseif condition="$val['is_paid'] eq 1"/>
                                        <td>{$val['pay_time']|date="Y-m-d H:i:s",###}</td>
                                    </if>
                                        <td>{$val['add_time']|date="Y-m-d H:i:s",###}</td>
                                </tr>
                            </foreach>
                             <if condition="$data eq null"><tr><td colspan="11" align="center">没有数据！</td></tr></if>
                            </tbody>
                        </table>
                    {$page}
                    <!-- PAGE CONTENT ENDS -->
                </div><!-- /.col -->
            </div><!-- /.row -->
        </div><!-- /.page-content -->
    </div>
</div><!-- /.main-content -->

</div><!-- /.main-container -->

<include file="Public/footerjs"/>
<!-- inline scripts related to this page -->
<script type="text/javascript">
    $(function () {
        window.print();
        $(".check-all").click(function () {
            $(".comments").prop("checked", this.checked);
        });
        $(".comments").click(function () {
            var option = $(".ids");
            option.each(function (i) {
                if (!this.checked) {
                    $(".check-all").prop("checked", false);
                    return false;
                } else {
                    $(".check-all").prop("checked", true);
                }
            });
        });
        history.back();
    })
</script>
</body>
</html>
